package com.slz3.business.module.orderManagement.ordOrderLogistics.service;

import com.slz3.business.module.orderManagement.ordOrderLogistics.domain.OrdOrderLogistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface OrdOrderLogisticsService {

    OrdOrderLogistics save(OrdOrderLogistics ordOrderLogistics);

    Page<OrdOrderLogistics> page(MultiValueMap<String,String> queryParams);

    OrdOrderLogistics modify(OrdOrderLogistics ordOrderLogistics);

    Optional<OrdOrderLogistics> single(UUID uuid);

    Optional<OrdOrderLogistics> query(MultiValueMap<String, String> params);

    List<OrdOrderLogistics> findAllByUuids(Iterable<UUID> uuids);

    List<OrdOrderLogistics> delete(List<OrdOrderLogistics> ordOrderLogisticsList);

}
